<?php
include 'dir_config';
include __DTD;
include __HEAD;
include __LIB.'use_db.php';
?>
<div id="layout_container">
	<div id="layout_top">
		布局页顶 
	</div>
	<div id="layout_header">
		布局页头
	</div>
	<div id="layout_channel">
		布局频道
	</div>
	<div id="layout_main">
		<div id="layout_ad">
			布局广告
		</div>
		<div id="layout_search">
			布局条件搜索
		</div>
		<div id="layout_catalog">
			布局分类搜索<br />
			<?php 
				$mysql = new DB();
				$sql = "SELECT * FROM user";
				$mysql->sqlQuery($sql);
				
				while ($ar_result = $mysql->fetchArray()){
					foreach ($ar_result as $key => $value){
						echo $value;
						echo "#";
					}
					echo '<br />';
				}
				
				$ar = new DataTable();
				$ar->offsetSet(0,'lyx');
				
				$b =  $ar[0];
				$a =  $ar[1];
				var_dump($ar->offsetExists(1));
			?>
		</div>
		<div id="layout_hot">
			布局热门
		</div>
		<div id="layout_news">
			布局新闻
		</div>
	</div>
	
	<div id="layout_side">
		布局侧边
	</div>
	<div id="layout_foot">
		页脚
	</div>
</div>
<?php
include __FOOT;
?>